<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Amaze UI Admin index Examples</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="assets/css/app.css">
    <link rel="stylesheet" href="assets/css/com.css" />
    <script src="assets/js/jquery.min.js"></script>
    <script src="layer/layer.js"></script>
    <style>
        .tpl-content-wrapper{
            margin-left: 0px;
        }
        body{
            overflow-y: scroll;
        }
    </style>
</head>

<body data-type="widgets">
    <script src="assets/js/theme.js"></script>
    <div class="am-g tpl-g">
       

        <!-- 内容区域 -->
        <div class="tpl-content-wrapper">
            <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-cf">操作员管理</div>


                            </div>
                            <div class="widget-body  am-fr">

                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                    <div class="am-form-group">
                                        <div class="am-btn-toolbar">
                                            <div class="am-btn-group am-btn-group-xs">
                                                <button type="button" class="am-btn am-btn-default am-btn-primary" id="add-modal-toggle"><span class="am-icon-plus"></span> 新增</button>
                                                <button type="button" class="am-btn am-btn-default am-btn-success" id="delet_noes"><span class="am-icon-trash-o"></span> 删除</button>
                                                <button type="button" class="am-btn am-btn-default am-btn-primary"  id="bind_update"><span class="am-icon-repeat"></span> 更新</button>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                

                                <div class="am-u-sm-12" style="height: 435px;">
                                    <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black " id="example-r">
                                        <thead>
                                            <tr>
                                                <th style="width=10px;"><input style="display:inline;" type="checkbox"></th>
                                                <th>序号</th>
                                                <th>操作员</th>
                                                <th>角色名</th>
                                                <th>电话</th>
                                                <th>地址</th>
                                                <th>登录时间</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            
                                        </tbody>
                                    </table>
                                </div>
                                <div class="am-u-lg-12 am-cf">

                                    <div class="am-fr  paging_content">
                                        <div class="am-disabled li_bt bt_start"><a href="javascript:;">首页</a></div>
                                        <div class="am-disabled li_bt bt_left"><a href="javascript:;">«</a></div>
                                        <div class="content">
                                          <ul class="am-pagination tpl-pagination">
                                          </ul>
                                        </div>
                                        <div class="am-disabled li_bt bt_right"><a href="javascript:;">»</a></div>
                                        <div class="am-disabled li_bt bt_end"><a href="javascript:;">尾页</a></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 模态框 删除 -->
        <!-- 新增模态弹窗 -->
        <div class="am-modal am-modal-prompt" tabindex="-1" id="add-modal">
          <div class="am-modal-dialog">
            <div class="am-modal-hd">
                <span class="modal-prompt-title">新增管理员</span>
                <span data-am-modal-close class="am-close">&times;</span>

            </div>
            <div class="am-modal-bd modal-add">
              <div class="modal-category">
                  <span>ID</span>
                  <input type="text" class="am-modal-prompt-input" placeholder="*****"/>
              </div>
              <div class="modal-category">
                  <span>密码</span>
                  <input type="text" class="am-modal-prompt-input" placeholder="密码"/>
              </div>
              <div class="modal-category">
                  <span>角色</span>
                  <select class="am-modal-prompt-input">
                      <option value="1">超级管理员</option>
                      <option value="2">开发者</option>
                      <option value="3">体验者</option>
                  </select>
              </div>
              <div class="modal-category">
                  <span>电话</span>
                  <input type="text" class="am-modal-prompt-input" placeholder="电话"/>
              </div>
              <div class="modal-category">
                  <span>MVS ID</span>
                  <input type="text" class="am-modal-prompt-input" placeholder="*****"/>
              </div>
            </div>
          <div class="am-modal-footer">
             <div class="modal-fotter-btn">
                 <button class="am-btn am-btn-primary" data-am-modal-confirm>确认</button>
                 <button class="am-btn am-btn-default" data-am-modal-cancel>取消</button>
             </div>   
              <!-- <span class="am-modal-btn" data-am-modal-cancel>取消</span>
              <span class="am-modal-btn" data-am-modal-confirm>提交</span> -->
          </div>
         </div>
        </div>

        


        <!-- 删除模态弹窗 -->
        <div class="am-modal am-modal-prompt modal-prompt-delete" tabindex="-1" id="delete-modal">
          <div class="am-modal-dialog">
            <div class="am-modal-hd">
                <span class="modal-prompt-title">信息</span>
                <span data-am-modal-close class="am-close">&times;</span>
            </div>
            <div class="am-modal-bd modal-delete">
              <div class="modal-content">
                  是否删除？
              </div>
            </div>
          <div class="am-modal-footer">
             <div class="modal-fotter-btn">
                 <button class="am-btn am-btn-primary" data-am-modal-confirm>确认</button>
                 <button class="am-btn am-btn-default" data-am-modal-cancel>取消</button>
             </div>
          </div>
         </div>
        </div>

        <!-- 修改密码 -->
        <div class="am-modal am-modal-prompt" tabindex="-1" id="modify-pw-modal">
          <div class="am-modal-dialog">
            <div class="am-modal-hd">
                <span class="modal-prompt-title">修改密码</span>
                <span data-am-modal-close class="am-close">&times;</span>
            </div>
            <div class="am-modal-bd modal-add">
              <div class="modal-category">
                  <span>新密码</span>
                  <input type="text" class="am-modal-prompt-input" placeholder="*****"/>
              </div>
              <div class="modal-category">
                  <span>确认密码</span>
                  <input type="text" class="am-modal-prompt-input" placeholder="密码"/>
              </div>
            </div>
          <div class="am-modal-footer">
             <div class="modal-fotter-btn">
                 <button class="am-btn am-btn-primary" data-am-modal-confirm>确认</button>
                 <button class="am-btn am-btn-default" data-am-modal-cancel>取消</button>
             </div>   
              <!-- <span class="am-modal-btn" data-am-modal-cancel>取消</span>
              <span class="am-modal-btn" data-am-modal-confirm>提交</span> -->
          </div>
         </div>
        </div>

    </div>
    <script src="assets/js/amazeui.min.js"></script>
    <script src="assets/js/amazeui.datatables.min.js"></script>
    <script src="assets/js/dataTables.responsive.min.js"></script>
    <script src="assets/js/app.js"></script>
    <script src="assets/js/indexjs/operators.js"></script>
        <script>


        var data=[{"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
            {"name":"张鹏飞","roleName":"超级管理员","tel":"13829094487","addr":"中国·深圳","loginTime":"2017-06-19"},
          ];
          $(function(){
            // console.log(operators);
            operators.init({
              data:data,
              el:"#example-r",
              delet_status:true,
              modify_status:true,
            });
          })

          
        </script>

</body>

</html>